alternative handle approach

handle system with less code / architecture

there is currently no way to register an onInvalidate() handler as I don't see a usecase yet.
Do you know any?