Use options[:class] to reference the document