Changed visibility of Entity::getReflection method to protected