Introduce utility macros for messages and allocation