Added Treeprocessor in extension API