Add keys to entity