Removed forward declaration of Generator

It was accidentally left in from a planned but ultimately scrapped redesign.