I'm not too happy with `ensureObject`. Thoughts on a better name?