Pass the context instance to Macro.prototype.generate