Key type checks