Changed RoutePlugin.applyFlags() and .applyParameters() to protected from package-protected so all sub-classes can use them.