removes duplicate methods.