Make CorePlugin.invoke_action returns the value returned by the handler.