Adds base classes to the dependencies