provide context for new methods: createMethod(name, returnType, context)