Add document dependency.