instanceof MappingRegistryAware does not work?