Add helpers to print messages in views