Allow hstr() and dstr() methods to run on arrays