Deleted some unused methods.