HeaderConverter hConverter = new HeaderConverter();
// Defer to HeaderConverter
Document dest = new Document(hConverter.convert(header), stmtGroups);
if (source.isSetAnnotationDefinitionGroup()) {
XBELAnnotationDefinitionGroup adGroup =
source.getAnnotationDefinitionGroup();
List<XBELInternalAnnotationDefinition> internals =
adGroup.getInternalAnnotationDefinition();
List<XBELExternalAnnotationDefinition> externals =
adGroup.getExternalAnnotationDefinition();
int size = internals.size() + externals.size();
List<AnnotationDefinition> l2 = sizedArrayList(size);
// Defer to converters
InternalAnnotationDefinitionConverter iConverter =