Fixed some reek warnings.