Delete stuff that is not needed for the page