Fix outdated code (old tuples syntax)

Partial fix for http://youtrack.jetbrains.com/issue/KT-3775
Merge pull request #289 from amal/patch-1

Fix outdated code (old tuples syntax)