Could we just check e.g. `typeof model !== 'object' && typeof model !== 'undefined'`? Should this error if you, say, pass in `false` or `null`?