Added sequence support for as.