Added some helper functions to Point.