Removed the getManager since the supports method will resolve the entity and set the new entity as the class in the configuration.