conform to the new plugin structure