Create struct representations for messages