def get_keyword(keyword, kwargs):
    """Used for ACTIONS, which do not all have same signature."""
    if keyword not in kwargs:
        raise Exception('Did not get required keyword parameter: "{}" in: {}'
            .format(keyword, kwargs))
    return kwargs[keyword]
