this syntax is a bit strange, is this the preferred approach instead of:

    val narrowDependencies = dependencies.filter(_.isInstanceOf[NarrowDependency])

?