Adding getName() method to pseudorandom classes