This seems iffy as locals themselves are accessible as a dict. Profile.