messageTemplates are now stored in a HashMap