Make sure that pagination has a model instance after construction.