Only clean stuff that needs cleaning - makes tests run faster.