added onBind hook to Binding trait