Added message functions.