Much cleaner transform api.