Add array to messages definition