Is this autodetection done by the `content` vs `contents` attributes or a `type = 'book'`?