Alter validation to allow for DAGs.