Updated code formatting per ReSharper recommendations.