'Aliases method names so that Loaders defined with old names work.'

def alias_old_names(self):

    aliases = (('CreateEntity', 'create_entity'), ('HandleEntity', 'handle_entity'), ('GenerateKey', 'generate_key'))
    for (old_name, new_name) in aliases:
        setattr(Loader, old_name, getattr(Loader, new_name))
        if (hasattr(self.__class__, old_name) and (not (getattr(self.__class__, old_name).im_func == getattr(Loader, new_name).im_func))):
            if (hasattr(self.__class__, new_name) and (not (getattr(self.__class__, new_name).im_func == getattr(Loader, new_name).im_func))):
                raise NameClashError(old_name, new_name, self.__class__)
            setattr(self, new_name, getattr(self, old_name))
