def get_globals_dict(plugin):
    """
    Return a dictionary that will be added to the globals dictionary
    when executing calculations.
    """
    res = {}
    res.update(plugin.globals_dict())
    return res
