Code cleanup to make Resharper happy.