Use mako extension where possible, for syntax highlighting