Allow any traversable item to be passed to the data() method.