Add portable seq() interface