Add RecreateAllViews function.