Deleted some unused code.