Code cleanup to satisfy ReSharper.