Deprecated KeyType setter