Distributed clear function to plugins.