Replaced tuples with BrewPhase type when creating phases.