Only use on dictionary in exec(). This works around wierd scoping for list comprehensions.