Use new style slot connectors in plugin.py