To prevent an Annotator is undefined error, the constructor class is set by the object returned from the hypothesisConfig function. The documentation has also been updated.