2560 Changed templates to mako.