alternative handle approach

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