Adds #undef statements at end of .m file.