Remove unused macros from API