Changed type for RMessage constructor