@Taluu I think it's out of scope of this bug fix. A PR should focus on one task - which in this case is fixing a bug. Refactoring internals is something separate.

@Tobion `closed` represent private internal state so should not have a getter.