Fix a couple of Perl::Critic warnings