Changed use of old scala syntax to work with newest scala compiler.