added StaticMethodHandler and InstanceMethodHandler