Add support for 3D points.