Fix flask-mako registering.