Added type cast for  value. Will always be array now.