GoRouter API prototype. See the design doc for more information.