Skeleton for message processing.