Added macros for ease of use.