Tweaked transmaterializer functionality a bit.