Added scaladoc.