Re-add Router::parseExtensions() for easy migration.

Using it will trigger a warning.