Added DefinitionPhase and Began STBasedGenerator