Made LCPArray class work with Sequence instead of String.