Just call ```validateDate(opts.expires)``` directly, here.