Use shared_ptr for can_message_set too.