Allow clean directory to be resource spec