@classmethod
def get_role_adders(cls, *roles):
    """Convert the arguments into a list of commands or options and values.
        """
    role_adders = []
    for role_argument in roles:
        if type(role_argument) == tuple:
            role, parameter = role_argument
        else:
            role, parameter = role_argument, None
        import_names = ['AddRole', 'Configure']
        try:
            module = __import__(role, globals(), locals(), import_names)
        except ImportError:
            try:
                module = __import__('profab.role.%s' % role, globals(),
                    locals(), import_names)
            except ImportError:
                raise ImportError('Could not import %s or profab.role.%s' %
                    (role, role))
        if parameter:
            role_adders.append(module.Configure(parameter))
        else:
            role_adders.append(module.AddRole())
    return role_adders
