Added tree view hooks for targets.