Added a header that defines some common macros