Rewrite some tasks.