Documented the functions.