collector: use new plugin style