+ add logging for methods in Document.m file