Made sure plugin is initialized when model init