Fix missing service template global required for flash messages