Initialize a dict before using it.