value: Rename get_dependencies to dependencies, and change Ptr to Ref