Add upgrade routine to remove old listeners.