Functoriality of pi-zero