Fixed all rubocop errors.