Fix disabling plugins which has to happen in the factory now