Bug fix: Missing entity type when created/loaded.