Adding dependencies to metadata