Added character class(es); focus handling.