Document a bunch of my classes. Slight refactoring.