Changed signature of forwardSlice and backwardSlice to accept a list of symbols as opposed to a single symbol.