allow objects in MethodDict