get rid of static lifetime parameters in message.rs