AG: Added commentary to function headings.