Fixed controller for creating plugins with plugin_calls correctly