PartialApply and cleanup etc.