Fixed some 'R CMD check' warnings