Pope Francis has also written a letter of resignation, to be invoked if he became medically incapacitated.