Adds 'weight' support to write setting