class Point is now template