Deleted some unneeded methods.