Added ability to watch documents