Applied reSharper refactoring.