Add flag to have unbind return the previously bound callbacks.