def add_vocab(cls): """Registers a VocabString subclass. Note: The :meth:`register_vocab` class decorator has replaced this method. """ stix.add_extension(cls)