Cleanup and pipeline processing skel.