Class script The Class script contains all events that are related to the extraction of a document and its fields.