Better way for suppress warnings.