FSM build functions are in a new file.