Extending Messages class solution.
Refactored Typed Messages into its own class.