Fixed some resharper project warnings