Add the prototype for removePoint