Implemented the array parsing.