support for null entities