Added documentation because @tshadwell can't code.