Minor tweaks to the unload function.
Minor tweaks to the unload function.

asagalo/REST-Easy,nathan-osman/REST-Easy,nathan-osman/REST-Easy,mirkoperillo/REST-Easy,asagalo/REST-Easy,mirkoperillo/REST-Easy