Document some functions.