Fixed treeadapter generic types