Tidied up the supplied class files.

I've tidied up the whitespace and fixed up the comments a little bit.