Add special handling for sklearn_wrapper.Train