Fixes typo in API.rst. Fixes #16.