Finished documenting functions.