80b78f0f6d
Instead of invokevirtual on FunctionImpl class, do invokeinterface on a Function trait. This will allow to invoke functions on classes which don't inherit from FunctionImpl classes. Also rename the method to the more sensible name