Add docs for dependencies func