Implementeer verbeterde dependency generation.