Combine the methods for building the flows into one class.