Actually to replace with set_message implementation.