Amended get_array_value() methods to allow default value.