Add Scaladoc to some methods