Don't specify RuntimeError explicitly.
Minor rubocop style fixes.