Remove unnecessary plugins and opts