Fix Resharper issues.