Add API (auto generated)

Fixes #10