Add comments to sector write routines