Added distance field to Instruction.