docs: improve function description.