Updated scaladoc comments