Would it be cleaner to move this to `core.alphabets` too?