Extra context: API

Fixes #12