Update for new lua-discount API