Rename registerRoute to addRoute.