cython: add comments for all API methods