Added get methods for xpos, ypos and zpos.