Fix weak callback.
Merge pull request #128 from rvagg/weak_callback_redux

Fix broken weak callback.