Moved ReceiveMessage methods to extension methods class