Resharpers code cleanup.