Starting plugins refactoring.