Fix bad documentation around using the API. Closes #2