Remove the key checking code.