Looks good. You'll need to delete if the supplied value is None and set if it's Some.