Add API docs with examples for the new computed macros