This should be also documented in `docs/api.rst` file.