Cool for typos but not for maintainability. If you want another type of flashes, you have to modify it in 2 places ! (template and here)