Name of the method does not indicate what it does. Possibly would be more intuitive if you have two methods: bindUnload and unbindUnloads.