Changed default_entity_manager to entity_manager to avoid error when extending