Changed constructor for RMessage