Add support for pluggable validation for items fetched from localStorage