Remove automatic encapsulation in mole task.