Style fixes and some documentation.