`assertImageDatastreamType` is not defined.