- Fixed memory leak of imported types