Implemented document.all