Added message creation functions.