I think this would be clearer if `slugOp` were just called `tm` or `transMemory`, no need to re-encode type information in the name.

This conditional could also be inverted to avoid the `!` and move the happy path code to a more prominent position.