Split out more entity code into vault.entity.tx ns.