Moved Language.Commons and context.ontology out of extract() for performance reasons.