Uses serializable list for dep_ids