Extensions lock and controllers priority optimisation