Added some basic document viewing.