Define character classes in core