Remove unused code.
Increment dependency.
Increment dependency.
Increment dependency.
Simplify.
Tidy up.
Fix mapped method.
Refactor out mappedEvents.
Implement dependency for flatMap.