Adding pages and fragments.