Move validation checks, fix properties, support JAXB properly for all objects.