More object-oriented way of generating characters.