Functoriality of de Rham Cohomology