Changed dependencies declarations to take the parent's dependencies.