Added character state search.