Using ExternalKey type everywhere