Apply plugins correctly.