Switched Encode.t to the object manager.