Add all dependencies at once in Analysis

The previous implementation of Analysis had different methods that
added the internals dependencies in one method, then the external and
binary dependencies.

The new implementation adds all the dependencies at once.