Add documentation for functions, structures and macros