Fix scaladoc generation error.