Deleted some unused lines of code.