Added methods to tree view widget to get items.