Unused parameters for a task factory have been removed.