I hard-coded upstream. It would be ugly here, but would make the `moduleTypes` configuration dance simpler. Up to you.