Refactored the production of empty classes/objects for messages into RWS