Eased merging of two MessageBag instances
Fix code style
Cleaning up code.