Add @context to generated documents