Improvements in the entity class registration.