Plugin API cleanup.