Added a class for entities instances.