Removed unused parts of tf2.