Revert "Revert "Include dependencies."

This reverts commit 63fd7edb3518912194f9bee75f2748c8b1ad3648.