Document the interface API

See #39