Fix Perl::Critic errors