replace TransformStrategy with Function.