Remove setDirectory useless function