Scala support classes from blog post