Replace [] with 'objectAtIndex'.