+1 though I'd probably inline the transform to set thing, just cause it is trivial.