Make proper temporary PointRef objects.
Close #631