Another possibility: what if "model" is a model of a CompositeSpace? This would try to unpack X even though it should be left as is.