Remove references to localStorage