Remove unnecessary diagnostic flag.