EntityManager::getClassMetadata() is too much performance sensitive and had to be removed