Cleaning up resource paths.