Add documentation for the setZ method