Cleanup / Optimization of eventchains.