Cleanup methods for loading and saving data to XBMC.