Replaced DictObj class in favour of namedtuples.
Removed DictObj class.