Added Document.from_string() class method as a convenience when loading strings