Add docs for macros