Removed unused code per resharper