use addPlugin instead of addFormatter