Use of old and new trasaction APIs in the same new file is a smell.