Update for mako 4.3 compatibility.