Fixing GetHashCode warnings