Add doxygen-style comments to document macros, and an overview