Hack together message saving.