This would break if FrameworkBundle is registered after WebProfilerBundle.