Add support for slice