Use macros for the get static and set static members