Delegate doing this to the protocol -- add onConnect(inspector) to the protocol and do it there. And then you won't need getListeners.