Deleted some unnecessary code.