Style fixes and doxygen documentation.