Implemented generalized MethodChainProxy.