[stores] StoreClass: Allow registerAction() to accept a callback array