Implement acknowledgements.

Fixes #3557