doc: binding improvements