Added some documentation, removed whitespace.