Remove some hooks - tasks executed twice.