Clean up flow graphs.