Make default factory return type id.