Fix dependency tree for webapp support