Made 'message::uid' a class to prevent implicit conversions between 'long' and 'string'.