Fixed init functions for dictionary objects.