Remove the dir variable.