Small changes to Misc.pm