Add migration API for pages