Check for parameters.
Fix bug introduced while trying to comply Perl Critic rules.