Move tx out of repo