Added a bunch more docs.