Yes, we can just use `commit` parameter. It will be default to type 'mixed'.