Added xsi:type generation for polymorphic elements