use new model.hasWritePending instead of model.hasPending
0.1.2