Fixes the issue of scala constructor args duplication.

http://stackoverflow.com/questions/7324134/are-scala-constructor-args-duplicated