DefineViewHelper for preloading views.