Implement ranges in characted classes.