This has come up in other threads too:
I think @icme was proposing that there could be new lifecycle hooks for this purpose: