Adds the module type to the package index