Run document()