This was outside of the `with_planning_scope` on purpose, because there migth be some dependency resolution after the scope is added (in switch_flow)