Tree state declaration change