Macros: template for parser helper