Returned functionality that adds a page