Little optimizations.
Add FloodEvent + test.