Deduplicate local & session storage methods