Put a method on `DataPoint` for this and the map in the next line.