Fix Scalastyle warnings.