Made MessageMetadata immutable

Added doco