Cleanup paths.