Proper-ish tear down. Will need testing badly.