Implemented JAXB adapters.