Make perlcritic happy; remove prototypes, explicit undef returns