add attributes to bindings