updating methods import and export of type params. still needed for classes and typedefs