Defined some nice macros