Third party bundles should invent something like `Sf2CompatUtil` classes see https://github.com/symfony-cmf/RoutingBundle/pull/325/files . I think that should be official recommendation from core team how to deal in this case.