Removes redundant invokers.