Moved api changes from delete-items-page branch to here