Added a commodity method for resetting listeners.