Use 'on' instead of 'bind'

Replacing te deprecated method *__bind__* and using *__on__* instead.