Bulk save functionality (setItems method) + other minor fixes

No new tests, existing tests work