Removing some unused dependencies between directives