More changes to document view