Add convenient method ClientInterface::getEntityManager