doxygen: Move function documentation into the macro generating the function.