Remove all the checks for pyPlug==NULL