FOLD: Add account version to addAccount code.