Would it be possible to reduce the code duplication regarding the store implementation ? The functions forThisStore, onLoadResourceSuccess and onLoadResourceFail are copied all over. Do you have any ideas on how to reduce the boiler plate to write new rest enabled stores ?