added some commonly used apis on document object #4