Implement new Generator.extend inheritance method
Merge pull request #446 from SBoudrias/inheritance

Implement new Generator.extend inheritance method