Plugin setup. Stat init.