Code cleanup for ReSharper compliance.