Remove unneeded methods.