Fix some rubocop warnings (thanks to @rafalchmiel)