Add comments for the based functions of the library.