Added conversion to integer array.