Added scalaDoc.