Add support for defining inherited methods in schema definitions