scaladoc improvements