Adding methods to LocalStorageController