Further terrain.pxd changes.