Which of following functions is performed by manganese IV oxide in the Lenclanche cell?