Fix Issue 9081 - Modules shouldn't have a type