Moves To*() type conversion into a T4 extension