Get fun-to-method and method-to-fun