Add support for $slice operator