Fixing Notice: Undefined index: paid in ...
Merge remote-tracking branch 'mvrhov/patch-2' into 0.8
[offline] wrap model by ArrayObject from bridge.