modulemanager: Change the ideitity attribute typ to type