Fix rubocop's Void warnings.