Fix internal Rubocop issues