Probably we can use label_flags etc to define where the deps come from and remove the need to set this up