Pass callable to purge