Commented out are the things needed to get transforms working.

I got close, but it didn't seem worth it in the end.