Some helpful macros.