Set type object STable earlier in deserialization.

Otherwise, things like typed arrays find the types they want to look
at the storage_spec of are not yet complete enough and explode.