Construct basic function flows.