Added skipWhile and takeWhile