Migrate to new plugin structure.