class Plugins(controllers.Controller): def __init__(self): ''' Create this plugins thing ''' @expose(format='json') def default(self, pluginName, *args, **kwargs): print "PLUGIN: %s" % pluginName return init_plugins()[pluginName][0]