stats: use plugin base object