Updating to use Traversable for type hinting.