add scala syntax support