Clear the dict

def clear(self):
        '''
        Clear the dict
        '''
        # create a dict to store loaded values in
        self._dict = getattr(self, 'mod_dict_class', dict)()

        # have we already loded everything?
        self.loaded = False