Added getKeysForLocalStorage method.