Update the implementation and documentation for 
plugins.