Modify BaggingModel