Avoid warning in new addPoint() interface.