rename acknowledge to send_acknowledge
Add documentation.