These messages helped me debug, @sigurdteigen you think they should be LOG_LEVEL_WARNING? I'm not quite sure how frequent it is to call ExpandScalar() with non-scalar types, maybe we should complain loudly.