material: support "type" entity and selections;