Support multiple item macros

Closes #4375
Support multiple statement macros