Move models/utils to tupleops, so that it can be used by preprocessors