Added functions for char type checks.