Added the creation of scope to the creation of a new object. Had to adjust it for defines as well.
Added the creation of scope to the creation of a new object. Had to adjust it for defines as well.
Removed the return value from ReceiveMessage