Add support for writing a single point.