Adding bloc declaration in build_pager