Typesafe heterogeneous container.