Documented each function.