removing plugin generated code