Initial implementation of the dependency tree structure.