Changed bind and unbind commands to use the new PollingCommand model