Templates adapted to Mako.