First perd#unload() implementation that is not totally awful.