Added missing perm_vars() function to MultEngine and ScalMultEngine.