Remove "getServiceManager" function from DoctrineTools trait