Adding search, max pages and transition type parameters.