Updated the marshaller to accept different XML types annotated outside of this context.