Removed redundant as_slice call