Allow arbitrary return type for transformations