Factoring the different media layers.