Removed unnecessary code from the end of the file.