Extract Message class