Initial work on scoring trails.