Fixed bind and unbind tasks.