add support for ManagerRegistry:getManagerForClass #231