Not only was Pavan a principal collaborator of John XXIII in the drafting of the encyclicals Mater et Magistra and Pacem in Terris, but he also had a vital role in the preparation of two of the most important conciliar documents: the pastoral constitution Gaudium et Spes and the declaration on religious freedom.