support for entities without primary property