add proton-api
bind by name to Function