Add support for __dir__ proxying in ObjectProxy.