A block-based API for NSValueTransformer.