Further terrain.pxd changes (3).