Pass the context instance to Macro.prototype.generate
Merge pull request #19 from golyshevd/i14

Pass the context instance to Macro.prototype.generate