Recommended items

So this is pretty cool.
You can, in fact, use the “new” symbol-as-hash-key syntax here, like this:

    double authorized?: true

It looks a bit weird, though, with the colon following the question mark. I'll leave it up to you, but I thought I'd mention it for consistency throughout the rest of the code.