add function bindings to attributes