First version of macros.