SetReward method added.

SetReward method added.