Scaladocs and formatting