Compile flow.