add an `isObject()` clause instead of a style clause