Support ToSqlInterface in deflate method