Added all types of dependencies. Made Documents and sentences iterable.