Adds "Z" element to path reading.