Patch to Shell.pm to support some nzsh functions.