fix optional param for creating type tx fns

move the optional partition parameter to a later parameter list to avoid overloading problems