The whole point of thie example is that `Package#dimensions` returns a `Hash` with `Symbol` keys (and `Float` values), hence the mixed key and value types.