add @threadSafe to plugins