enable some macros in class definations