A few fixes I forgot while refactoring the routes.