Added view document capability