Cleaned up issues with REST paths.