Add getAt() accessors to Path interface.