Added a few helper macros, which I will be using later on.