Got around to adding some documentation (finally).