Resolve paths.