Remove unnecessary require statement in generator