Moved transient-ifying into separate function in common.
Switched order of operands in transientize.
Added persistentize method and documented both this and transientize.