Cleaning up paths.