Add missing blank lines before comments.
Drop unnecessary type declaration.
Add tests for failure cases.
Add an API facade for backups.
Add tests.
Add the API client side for backups.