Handle dependencies being at top level