Added options to remove elements and classes