Clean up the clean function (so meta).