Initialization of the addPage() function.