Changed set to write. Added group column.

Added a group column. Renamed the set method to write. Updated
documentation.