Add dependencies to module interfaces. Just the dependencies for the
current module, instead of transitive closure.