Add support for controllers in plugins.