semantic: If storing classes or structs in StorageTypes, store typereferences.
test: Use auto in internal test 1.