Corrected type in message service.