Made addPlugin public