Updating methods removeText() and removeImages()