Switching to the new router syntax.