Compatibility change: direct array access of value returned by method is not supported.