CrudFlag and modstamps optional in xsd and changes to factories