Minor fixes after RStudio check.