Install pecl/weakref
Bring Mongo back
Fix tests
Bug fixes