Removed the pragma(s) for Resharper warnings.