Remove unused local bindings.