documentation cleanup

This fixes a lot of errors while generating the documentation with
doxygen.