Only set prefixes if the transaction has just started.