Minor, but did you mean to say `final` here instead of `sealed`? I don't see any subclasses of `Stack` in this file. I believe it's the same case for `LIRSStacks`.