Add traversable and foldable to Id