add PURGE. Closes #9