Add inline documentation of the API