Rewrite TransRecord part.