Rollback to eb621f6cf3, remove mako templating.