Porting macros and class prototypes.