optimizing dependencies declarations