Add RW support for the SM1 format