Type definition and importer example code