Add e() helper function and update views.