Types API change fix

Updated to reflect api changes from the changes in the mango types inter...