Renamed globals and added flexible tranforms.