doc: reworked CLS API documentation.