Removed some unused code in touch.