Resharper code cleanup.