Remove doOnce definition