Removed the unnecessary code.