KT-880 Overload resolution ambiguity

 #KT-880 Fixed
KT-1998 Strange "Overload resolution ambiguity"

 #KT-1998 Fixed
Remove dangling commas from generated tests
Remove extension toArray()