Implement support for macros.ddoc files