Fix up routes to match API.