Moved initData for messages