Updating routes to remove deprecation notice.