Handle special cases for materials going through ws_enum_decode