Created NSValueTransformer subclass that uses blocks.