Add controller plugin.
(Hopefully) fix compile on older GCC.