Added purge command.