- remove unused code

+ getTypes_legacy method was no longer called