Created some useful debugging macros.