See previous comment on `.typename`. 

```ruby
case entity
when Sketchup::Group, Sketchup::ComponentInstance
  # ...
when Sketchup::Face
  # ...
end
```