Support passing preloaded pkl variables as tuple