Remove string operations used for filering enum typedefs