Added localStorage support on targets