Add hg purge extension.