Starting to add method to remove document form DOM