Unregister previous event listeners, if any.

Thanks for spotting this, @twpayne.
More specific argument type of callback method.