Place dependencies in the proper place.