Remove obsolete plugin code