Fleshed out documentation a lot.