automagic generation of dependencies