Support cast to character type