Updated copy due to localStorage fail.