Lots of doc block changes and reformatting of code.