Added constructor to RMessage