Update Generator.php
Merge pull request #1 from Stoakes/patch-1

Update Generator.php