Puts value into the compound under key, remembering T for serialization.
Puts value into the compound under key, remembering type for serialization.