Changed the names of the random-character functions to make them clearer.