Fix weak refs.
Use weak refs for called_by.

Eliminate call_reverse.
Make weak_ref() POD.
Use weak refs for used inputs.