Added some more documentation for various public things.