Removed hasSubtypes(true) as it's not required and renamed createSubType to createSubItem as it's a more proper name