Added methods to Message constructor