Style: use object subscripting instead of `-setObject:forKey:`