add visible, text and hasFocus bindings