Extended KAFDocument to support matching of dependency tree paths. Exposed some functions in AnnotationContainer