Revamped bindings again, in preparation for adding unbind functions.