Updated documentation of C interface