Ensure that inherit is also a valid Grace method

The inheritance method that was generated by the interpreter was just a
regular function, which confused that part inspector of the runtime. Now
the interpreter generates a runtime method with the same parts as the
original method.