moved exclusion of transitive dependencies to upper level