RLearner: name is now class name by default (backwards compatibility)