Added support for more than one MessageType handler in same class.