Added message processing code in the platform