Some minor resharper clean up issues.
Fixed all of the big resharper errors.