Add regeneration of path method