def METHOD_NAME(self, directories, cache_folder):
    """Create a new template lookup with set directories."""
    cache_dir = os.path.join(cache_folder, '.mako.tmp')
    if os.path.exists(cache_dir):
        shutil.rmtree(cache_dir)
    self.directories = directories
    self.cache_dir = cache_dir
    self.create_lookup()