Fix regarding the automatic generation of Page Templates.