Create setter functions from string paths