Add missing commitForRef: