Move InternalKey to live with the type classes