STUB: Add documentation for functions and macros