Add obj__code_or_transpose.

Start converting to an object.
Add medium to obj.
Convert.
Add more.
Convert transpose to a method.