Details should be a dictionary.