The map syntax for calling a method was being used in a wrong way

Some of the sendMessage methods wasn't working because they were being invoked using a map syntax that the method signature wasn't supporting. Updated the method calls so uses a classic syntax in method invokation.