Adds path cleaner and associated unit test.