Assert if we haven't got a model.
Use C asset so we can use this in a block.