Greatly improve doxygen documentation for the libraries.