Change PointRef to PtRef to work around MSVC problem.