Fixed a missing end in storageapi.lua