removing old plugin code