Style.
Hoist reporting functionality into separate class.