items, actionId and action should all be `final`, not `var`. We should strive to be const-correct, although we're not even close to that, sadly.