[eclass] Add function usage doc as per review from pesa.