Doxygen headers on functions, particularly implementations of hooks, would make the code a lot easier to read and debug.