Rename viewer to document