Fixes #186: Support mocking Traversable interface.