Fix object returning

I forgot that the plugin() takes an object, not a function.