Rename primary to key & keys.