[composer] Small improvements to API docs