Global templates with pretty errors added in