REV: Added comment for key functions.