Docs on writing plugins.