Removed the old model transformation code