Introduced RoutePlugin to enhance plugins that create internal routes.