Better handling of #| writing.