make _delete() accept a plugin object
make get_details() accept a plugin object