Adds a contains point method.