Remove unnecessary character classes. Add some useful ones.