Dependencies can be specified in two ways now: as a list or dict.