Update module to work with the actually implemented extension point

Also correctly sets the module-type in composer now too