'Initialize the object and return it.'

def initialize(self, plugin_name):

    mod_name = (plugin_name + '_plugin')
    mod = __import__(('spyder.utils.introspection.' + mod_name), fromlist=[mod_name])
    cls = getattr(mod, ('%sPlugin' % plugin_name.capitalize()))
    plugin = cls()
    plugin.load_plugin()
    return plugin
